<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login"
  Title="Login" MasterPageFile="~/Shared/2-col.master" %>
<asp:Content ID="content" ContentPlaceHolderID="MainContent" runat="Server">
  <h3>Login</h3>
  <div class="loginBox">
    <table border="0" cellpadding="1" cellspacing="0">
      <tbody>
        <tr>
          <td colspan="2" align="center">
          </td>
        </tr>
        <tr>
          <td nowrap="nowrap">
            <div align="right">
              <asp:Label runat="server">Username: </asp:Label>
            </div>
          </td>
          <td>
            <asp:TextBox runat="server" ID="UsernameInput" Columns="18" 
              ValidationGroup="Login" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
              ErrorMessage="Username cannot be left blank" 
              ControlToValidate="UsernameInput" Display="None" ValidationGroup="Login"></asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td>
          </td>
          <td align="left">
          </td>
        </tr>
        <tr>
          <td align="right">
            <asp:Label runat="server">Password: </asp:Label>
          </td>
          <td>
            <asp:TextBox runat="server" Columns="18" TextMode="Password" ID="PasswordInput" 
              ValidationGroup="Login" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
              ErrorMessage="Password cannot be left blank" 
              ControlToValidate="PasswordInput" Display="None" ValidationGroup="Login"></asp:RequiredFieldValidator>
            <asp:CustomValidator ID="CustomValidator1" runat="server" 
              ErrorMessage="CustomValidator" Display="None" ValidationGroup="Login"></asp:CustomValidator>
          </td>
        </tr>
        <tr>
          <td>
          </td>
          <td align="left">
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
              DisplayMode="List" ValidationGroup="Login" />
          </td>
        </tr>
        <tr>
          <td align="right" valign="top">
            <asp:CheckBox runat="server" ID="RememberMeInput" Checked="true" />
          </td>
          <td>
            <asp:Label runat="server">Remember me on this computer.</asp:Label>
          </td>
        </tr>
        <tr>
          <td>
          </td>
          <td align="left">
            <asp:Button runat="server" ID="SignInButton" Text="Sign in" 
              onclick="SignInButton_Click" ValidationGroup="Login" />         
          </td>
        </tr>
        <tr>
          <td colspan="2" align="center" height="33" valign="bottom">
            <a runat="server" href="~/Reset.aspx" target="_top">I cannot access my account </a>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</asp:Content>
